home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3982 < prev    next >
Mailbox/MIME Entity  |  1996-08-06  |  1.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6f 64 | 69 2e 63 6f 6d 21 75 73 |Path: od|i.com!us|
|00000010| 65 6e 65 74 0a 46 72 6f | 6d 3a 20 4b 69 6d 62 65 |enet.Fro|m: Kimbe|
|00000020| 72 6c 65 79 20 42 75 72 | 63 68 65 74 74 20 3c 62 |rley Bur|chett <b|
|00000030| 75 72 63 68 65 74 74 3e | 0a 4e 65 77 73 67 72 6f |urchett>|.Newsgro|
|00000040| 75 70 73 3a 20 63 6f 6d | 70 2e 6c 61 6e 67 2e 63 |ups: com|p.lang.c|
|00000050| 2b 2b 0a 53 75 62 6a 65 | 63 74 3a 20 52 65 3a 20 |++.Subje|ct: Re: |
|00000060| 48 6f 77 20 64 6f 20 49 | 20 63 6f 6d 62 69 6e 65 |How do I| combine|
|00000070| 20 43 20 61 6e 64 20 43 | 2b 2b 20 63 6f 64 65 20 | C and C|++ code |
|00000080| 69 6e 74 6f 20 61 20 73 | 69 6d 70 6c 65 20 56 43 |into a s|imple VC|
|00000090| 2b 2b 20 70 72 6f 6a 65 | 63 74 3f 0a 44 61 74 65 |++ proje|ct?.Date|
|000000a0| 3a 20 32 36 20 4a 61 6e | 20 31 39 39 36 20 32 32 |: 26 Jan| 1996 22|
|000000b0| 3a 34 35 3a 31 37 20 47 | 4d 54 0a 4f 72 67 61 6e |:45:17 G|MT.Organ|
|000000c0| 69 7a 61 74 69 6f 6e 3a | 20 53 6f 66 74 77 61 72 |ization:| Softwar|
|000000d0| 65 20 4c 65 76 65 72 61 | 67 65 2c 20 49 6e 63 0a |e Levera|ge, Inc.|
|000000e0| 4d 65 73 73 61 67 65 2d | 49 44 3a 20 3c 34 65 62 |Message-|ID: <4eb|
|000000f0| 6c 68 74 24 61 33 67 40 | 6d 61 73 74 65 72 6d 69 |lht$a3g@|mastermi|
|00000100| 6e 64 2e 6f 64 69 2e 63 | 6f 6d 3e 0a 52 65 66 65 |nd.odi.c|om>.Refe|
|00000110| 72 65 6e 63 65 73 3a 20 | 3c 33 31 30 33 63 35 38 |rences: |<3103c58|
|00000120| 36 2e 36 31 38 33 37 38 | 36 40 6e 65 77 73 2e 61 |6.618378|6@news.a|
|00000130| 6c 74 2e 6e 65 74 3e 0a | 4e 4e 54 50 2d 50 6f 73 |lt.net>.|NNTP-Pos|
|00000140| 74 69 6e 67 2d 48 6f 73 | 74 3a 20 6c 6f 6f 6e 2e |ting-Hos|t: loon.|
|00000150| 6f 64 69 2e 63 6f 6d 0a | 4d 69 6d 65 2d 56 65 72 |odi.com.|Mime-Ver|
|00000160| 73 69 6f 6e 3a 20 31 2e | 30 0a 43 6f 6e 74 65 6e |sion: 1.|0.Conten|
|00000170| 74 2d 54 79 70 65 3a 20 | 74 65 78 74 2f 70 6c 61 |t-Type: |text/pla|
|00000180| 69 6e 3b 20 63 68 61 72 | 73 65 74 3d 75 73 2d 61 |in; char|set=us-a|
|00000190| 73 63 69 69 0a 43 6f 6e | 74 65 6e 74 2d 54 72 61 |scii.Con|tent-Tra|
|000001a0| 6e 73 66 65 72 2d 45 6e | 63 6f 64 69 6e 67 3a 20 |nsfer-En|coding: |
|000001b0| 37 62 69 74 0a 58 2d 4d | 61 69 6c 65 72 3a 20 4d |7bit.X-M|ailer: M|
|000001c0| 6f 7a 69 6c 6c 61 20 31 | 2e 31 4e 20 28 58 31 31 |ozilla 1|.1N (X11|
|000001d0| 3b 20 49 3b 20 53 75 6e | 4f 53 20 34 2e 31 2e 33 |; I; Sun|OS 4.1.3|
|000001e0| 20 73 75 6e 34 63 29 0a | 54 6f 3a 20 68 6f 77 61 | sun4c).|To: howa|
|000001f0| 72 64 40 76 76 6d 2e 63 | 6f 6d 0a 58 2d 55 52 4c |rd@vvm.c|om.X-URL|
|00000200| 3a 20 6e 65 77 73 3a 33 | 31 30 33 63 35 38 36 2e |: news:3|103c586.|
|00000210| 36 31 38 33 37 38 36 40 | 6e 65 77 73 2e 61 6c 74 |6183786@|news.alt|
|00000220| 2e 6e 65 74 0a 0a 68 6f | 77 61 72 64 40 76 76 6d |.net..ho|ward@vvm|
|00000230| 2e 63 6f 6d 20 28 4a 6f | 6e 20 48 6f 77 61 72 64 |.com (Jo|n Howard|
|00000240| 29 20 77 72 6f 74 65 3a | 0a 3e 49 20 68 61 76 65 |) wrote:|.>I have|
|00000250| 20 61 20 70 72 6f 6a 65 | 63 74 20 77 68 65 72 65 | a proje|ct where|
|00000260| 20 74 68 65 20 6d 61 6a | 6f 72 69 74 79 20 6f 66 | the maj|ority of|
|00000270| 20 74 68 65 20 63 6f 64 | 65 20 69 73 20 43 2c 20 | the cod|e is C, |
|00000280| 62 75 74 20 49 20 77 61 | 6e 74 20 74 6f 0a 3e 63 |but I wa|nt to.>c|
|00000290| 61 6c 6c 20 73 6f 6d 65 | 20 66 75 6e 63 74 69 6f |all some| functio|
|000002a0| 6e 73 20 77 72 69 74 74 | 65 6e 20 69 6e 20 43 2b |ns writt|en in C+|
|000002b0| 2b 20 28 74 68 61 74 20 | 61 72 65 20 73 69 74 74 |+ (that |are sitt|
|000002c0| 69 6e 67 20 69 6e 20 61 | 20 64 69 66 66 65 72 65 |ing in a| differe|
|000002d0| 6e 74 0a 3e 66 69 6c 65 | 29 2e 20 54 68 65 79 20 |nt.>file|). They |
|000002e0| 61 6c 6c 20 63 6f 6d 70 | 69 6c 65 20 67 72 65 61 |all comp|ile grea|
|000002f0| 74 2c 20 62 75 74 20 61 | 74 20 6c 69 6e 6b 20 74 |t, but a|t link t|
|00000300| 69 6d 65 20 74 68 65 20 | 63 6f 6d 70 69 6c 65 72 |ime the |compiler|
|00000310| 20 63 61 6e 27 74 0a 3e | 73 65 65 6d 20 74 6f 20 | can't.>|seem to |
|00000320| 66 69 6e 64 20 74 68 65 | 20 43 2b 2b 20 66 75 6e |find the| C++ fun|
|00000330| 63 74 69 6f 6e 2e 20 49 | 73 20 74 68 69 73 20 74 |ction. I|s this t|
|00000340| 79 70 65 20 6f 66 20 6d | 69 78 69 6e 67 20 6e 6f |ype of m|ixing no|
|00000350| 74 20 61 6c 6c 6f 77 65 | 64 3f 20 49 27 6d 0a 3e |t allowe|d? I'm.>|
|00000360| 75 73 69 6e 67 20 56 69 | 73 75 61 6c 20 43 2b 2b |using Vi|sual C++|
|00000370| 20 31 2e 35 20 6f 6e 20 | 57 69 6e 20 33 2e 31 2e | 1.5 on |Win 3.1.|
|00000380| 0a 0a 70 75 74 20 65 78 | 74 65 72 6e 20 22 43 22 |..put ex|tern "C"|
|00000390| 20 69 6e 20 66 72 6f 6e | 74 20 6f 66 20 74 68 65 | in fron|t of the|
|000003a0| 20 43 2b 2b 20 66 75 6e | 63 74 69 6f 6e 20 79 6f | C++ fun|ction yo|
|000003b0| 75 20 77 61 6e 74 20 74 | 6f 20 63 61 6c 6c 20 66 |u want t|o call f|
|000003c0| 72 6f 6d 20 43 2e 0a 6f | 72 20 69 66 20 79 6f 75 |rom C..o|r if you|
|000003d0| 20 68 61 76 65 20 61 20 | 6c 6f 74 20 6f 66 20 74 | have a |lot of t|
|000003e0| 68 65 6d 2c 20 75 73 65 | 20 65 78 74 65 72 6e 20 |hem, use| extern |
|000003f0| 22 43 22 20 7b 20 2e 2e | 2e 20 7d 2e 0a 0a 4b 69 |"C" { ..|. }...Ki|
|00000400| 6d 62 65 72 6c 65 79 0a | 0a |mberley.|. |
+--------+-------------------------+-------------------------+--------+--------+